/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.jr2tecnologia.model.repository;

import br.com.jr2tecnologia.model.entity.BankAccount;
import br.com.jr2tecnologia.model.entity.Company;
import java.util.List;

/**
 *
 * @author ronildo
 */
public interface BankAccountRepository extends GenericRepository<BankAccount>{

    public BankAccount findById(Long id);
    
    public BankAccount findById(BankAccount bankAccount) ;

    public BankAccount findByName(String name);

    public List<BankAccount> list(BankAccount bankAccount);

    public List<BankAccount> listAll();
}
